from django.urls import path
from apps.areas.views import AreaView, SubareaView, AddressCreateView, AddressView, AddressTitleView, AlterAddressView

urlpatterns = [
    path('areas/', AreaView.as_view()),
    path('areas/<id>/', SubareaView.as_view()),
    path('addresses/create/', AddressCreateView.as_view()),
    path('addresses/', AddressView.as_view()),
    path('addresses/<int:id>/title/', AddressTitleView.as_view()),
    path('addresses/<int:id>/', AlterAddressView.as_view())
]
